package com.zytech.zspider.task.event;

import com.zytech.zspider.core.TaskDefinition;
import com.zytech.zspider.eventbus.Event;

/**
 * @author siuming
 */
public class TaskAssembledEvent implements Event {
    private static final long serialVersionUID = -5308734259689187496L;
    private final TaskDefinition task;

    TaskAssembledEvent(TaskDefinition task) {
        this.task = task;
    }

    public TaskDefinition getTask() {
        return task;
    }
}
